Document ISM rollover any_of grouped conditions and prevent_empty_rollover - #12740
Open
praladhe wants to merge 3 commits into
Open
Document ISM rollover any_of grouped conditions and prevent_empty_rollover#12740praladhe wants to merge 3 commits into
praladhe wants to merge 3 commits into
Conversation
Document the new any_of rollover syntax (OR-of-ANDs: conditions are AND'd within a group and groups are OR'd), introduced in OpenSearch 3.7. Also add the previously undocumented prevent_empty_rollover parameter (available since 3.4). Signed-off-by: praladhe <praladhe@amazon.com>
praladhe
requested review from
cwperks,
dlvenable,
epugh,
kolchfa-aws,
mgodwan,
peterzhuamazon and
sumobrian
as code owners
July 4, 2026 19:20
|
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). |
5 tasks
Collaborator
|
@praladhe Seems like the code PR has not been merged yet so applying the v-TBD label. Please ping the code PR reviewers to review this PR as part of the feature when it's ready. Thanks! |
Author
|
The code PR has been merged. Kindly review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents the new grouped
any_ofrollover conditions for the ISMrolloveraction.any_ofaccepts a list of condition groups where all conditions within a group must be met (AND) and any satisfied group triggers rollover (OR), enabling OR-of-ANDs policies such as "roll over when (min_index_age ≥ 7d AND min_size ≥ 20gb) OR (min_primary_shard_size ≥ 50gb)". This complements the existing flat conditions, which are combined with a single implicit OR and remain the default.Specifically, this change:
any_of" section to the ISM rollover action documentation, with syntax, semantics (AND-within-group, OR-across-groups), and an example policy.any_ofand the flat conditions are mutually exclusive, and that existing flat-condition policies are unchanged.prevent_empty_rolloverparameter row to the rollover action parameters table.Related feature implementation: opensearch-project/index-management#1540 (PR opensearch-project/index-management#1667).
Issues Resolved
opensearch-project/index-management#1540
Version
3.7
Frontend features
N/A — this is a backend ISM policy configuration change (documentation only); there is no OpenSearch Dashboards UI component.
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.